(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Rewrite Strategy: INNERMOST

(1) RenamingProof (EQUIVALENT transformation)

Renamed function symbols to avoid clashes with predefined symbol.

(2) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double(x)), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

S is empty.
Rewrite Strategy: INNERMOST

(3) SlicingProof (LOWER BOUND(ID) transformation)

Sliced the following arguments:
double/0

(4) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

S is empty.
Rewrite Strategy: INNERMOST

(5) TypeInferenceProof (BOTH BOUNDS(ID, ID) transformation)

Infered types.

(6) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

(7) OrderProof (LOWER BOUND(ID) transformation)

Heuristically decided to analyse the following defined symbols:
eq, lt, bin2ss, half, log, s2bin1, s2bin2

They will be analysed ascendingly in the following order:
eq < s2bin2
lt < s2bin1
half < log
log < s2bin1
s2bin2 < s2bin1

(8) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

The following defined symbols remain to be analysed:
eq, lt, bin2ss, half, log, s2bin1, s2bin2

They will be analysed ascendingly in the following order:
eq < s2bin2
lt < s2bin1
half < log
log < s2bin1
s2bin2 < s2bin1

(9) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)

Induction Base:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(0), gen_0':s:nil:cons:double:1':bug_list_not3_0(0)) →RΩ(1)
true

Induction Step:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(+(n5_0, 1)), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(n5_0, 1))) →RΩ(1)
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) →IH
true

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(10) Complex Obligation (BEST)

(11) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

The following defined symbols remain to be analysed:
lt, bin2ss, half, log, s2bin1, s2bin2

They will be analysed ascendingly in the following order:
lt < s2bin1
half < log
log < s2bin1
s2bin2 < s2bin1

(12) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)

Induction Base:
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, 0))) →RΩ(1)
true

Induction Step:
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(+(n744_0, 1)), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, +(n744_0, 1)))) →RΩ(1)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) →IH
true

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(13) Complex Obligation (BEST)

(14) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

The following defined symbols remain to be analysed:
bin2ss, half, log, s2bin1, s2bin2

They will be analysed ascendingly in the following order:
half < log
log < s2bin1
s2bin2 < s2bin1

(15) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol bin2ss.

(16) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

The following defined symbols remain to be analysed:
half, log, s2bin1, s2bin2

They will be analysed ascendingly in the following order:
half < log
log < s2bin1
s2bin2 < s2bin1

(17) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)

Induction Base:
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, 0))) →RΩ(1)
0'

Induction Step:
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, +(n1275_0, 1)))) →RΩ(1)
s(half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0)))) →IH
s(gen_0':s:nil:cons:double:1':bug_list_not3_0(c1276_0))

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(18) Complex Obligation (BEST)

(19) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

The following defined symbols remain to be analysed:
log, s2bin1, s2bin2

They will be analysed ascendingly in the following order:
log < s2bin1
s2bin2 < s2bin1

(20) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol log.

(21) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

The following defined symbols remain to be analysed:
s2bin2, s2bin1

They will be analysed ascendingly in the following order:
s2bin2 < s2bin1

(22) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol s2bin2.

(23) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

The following defined symbols remain to be analysed:
s2bin1

(24) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol s2bin1.

(25) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

No more defined symbols left to analyse.

(26) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)

(27) BOUNDS(n^1, INF)

(28) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

No more defined symbols left to analyse.

(29) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)

(30) BOUNDS(n^1, INF)

(31) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

No more defined symbols left to analyse.

(32) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)

(33) BOUNDS(n^1, INF)

(34) Obligation:

Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double, xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)

Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not

Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)

Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))

No more defined symbols left to analyse.

(35) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)

(36) BOUNDS(n^1, INF)